package com.yuhang.rediscore;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class RedisCoreApplication {

    public static void main(String[] args) {
        /**
         * 1.引入spring-boot-start-data-redis
         *
         * 2.在配置文件中配置Redis 以及letuuce池
         *
         * 3.注入RedisTemplate
         */
        SpringApplication.run(RedisCoreApplication.class, args);
    }

}
